const {ccclass, property} = cc._decorator;

@ccclass
export default class NodeActive extends cc.Component {

    show () {

        this.node.active = true;
    }

    hide () {

        this.node.active = false;
    }
}
